using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace GUI
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void frmMain_Load(object sender, EventArgs e)
        {
            //frmDangNhap frmDangNhap = new frmDangNhap();
            //frmDangNhap.MdiParent = this;
            //frmDangNhap.Show();
            Form1 frm = new Form1();
            frm.MdiParent = this;
            frm.Show();
        }

        private void tsmenuTroGiup_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process.Start("Help.chm");
        }

        private void frmMain_KeyPress(object sender, KeyPressEventArgs e)
        {
            //if(e..KeyCode == Keys.F1)
            //    System.Diagnostics.Process.Start("Help.chm");
        }

        private void frmMain_KeyDown(object sender, KeyEventArgs e)
        {
            if(e.KeyCode == Keys.F1)
                System.Diagnostics.Process.Start("Help.chm");
        }
    }
}